package com.celeritymq.handler;

import java.io.IOException;
import java.nio.channels.SocketChannel;

import com.celeritymq.message.CelerityMessage;
import com.celeritymq.utils.CelerityBuffer;

public class Handler0 implements Handler {
	private CelerityBuffer buffer;
	private SocketChannel sc;
	private CelerityReader reader;
	public Handler0() throws IOException{
		
	}
	@Override
	public void handleIn() {
		
	}

	@Override
	public void handleOut(CelerityMessage msg) {
		
	}
	@Override
	public void setChannel(SocketChannel channel) {
		this.sc=channel;
		try {
			reader=new CelerityReaderImpl(channel);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
